<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <!--<link rel="stylesheet" href="/admin/common/layui/css/layuic.css" media="all" />-->
    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <style>
        #tree li a:hover,#tree li a:active,#tree li a:focus {
            color: #1E9FFF;;
        }
        .childrenBody {
            padding: 15px;
        }
        span.button.root_close::before {
            content: "\e623";
        }
        span.button.root_open::before {
            content: "\e625";
        }
    </style>
</head>
<body class="childrenBody">
    <div></div>
    <form class="layui-form" action="" lay-filter="component-form-element">
        <div class="layui-form-item">
            <div class="layui-col-lg6">
                <label class="layui-form-label">标题：</label>
                <div class="layui-input-block">
                    <input type="text" name="title" id="title" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-lg6">
                <label class="layui-form-label">副标题：</label>
                <div class="layui-input-inline">
                    <input type="text" name="subTitle" id="subTitle" placeholder="" autocomplete="off" class="layui-input" value="">
                </div>
            </div>
        </div>

        <!--<div class="layui-row layui-col-space10 layui-form-item">
            <div class="layui-col-lg6">
                <label class="layui-form-label">是否展示：</label>
                <div class="layui-input-inline">
                    <input checked="true" name="isShow" id="isShow" value="1" lay-skin="switch" lay-filter="switchTest" lay-text="是|否" type="checkbox">
                </div>
            </div>
        </div>-->
        <div class="layui-row layui-col-space10 layui-form-item">
            <div class="layui-col-lg6">
                <label class="layui-form-label">所属分类：</label>
                <div class="layui-input-block">
                    <input name="categoryId" type="text" id="tree-select" lay-filter="tree" class="layui-input" value="">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-lg12">
                <label class="layui-form-label">图片：</label>
                <input type="hidden" name="pic" id="pic">
                <div class="layui-input-block layui-upload">
                    <button type="button" class="layui-btn" id="test2">图片上传</button>
                    <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                        预览图：
                        <div class="layui-upload-list" id="demo2"></div>
                    </blockquote>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-lg6">
                <label class="layui-form-label">链接：</label>
                <div class="layui-input-block">
                    <input type="text" name="url" id="url" lay-verify="url" placeholder="如：http://www.baidu.com" autocomplete="off" class="layui-input" value="">
                </div>
            </div>
        </div>
        <!--<div class="layui-form-item layui-form-text">
            <label class="layui-form-label">内容简述</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea" name="brief" ></textarea>
            </div>
        </div>-->
        <div class="layui-form-item magb0">
            <label class="layui-form-label">内容详情：</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea layui-hide" name="content" lay-verify="content" id="layedit_content"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="add">提交修改</button>
                <!--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
            </div>
        </div>
    </form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/layui/mymodule/common.js"></script>
<script type="text/javascript" src="/js/cms/content/contentAdd.js"></script>
</body>
</html>